package com.wuchao.threadlearn;

/**
 * 作者：吴超
 * 邮箱：wuchao_19931120@163.com
 * 时间：2021-12-14
 * 描述：
 */

public class Demo1 extends Thread{

    @Override
    public void run() {
        for (int i = 0; i < 2000000; i++) {
            System.out.println("====================");
        }

    }

    public static void main(String[] args) {

        Demo1 demo1 = new Demo1();
//        demo1.start();
        demo1.run();
        for (int i = 0; i < 2; i++) {
            System.out.println("-----");
        }

    }
}
